<%-- 
    Document   : editarMenu
    Created on : 29/01/2010, 07:11:08 PM
    Author     : ADMINISTRADOR
--%>

<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<f:view>
<link href="/general/css/estilosEsymons.css" rel="stylesheet" type="text/css" />
    <link href="/general/css/admin_1.css" rel="stylesheet" type="text/css"/>

    <h:form>
        <table width="100%" border="0" cellpadding="2" cellspacing="2" class="tablanormal">

           <tr>
                <td align="right">
                    <h:outputLabel value="Seleccione:"/>
                </td>
                <td>
                    <h:selectOneMenu value="#{MenuWebController.menuWeb.tusCodigo}" onchange="submit();" >
                   <f:selectItem itemLabel="--------Seleccionar-------"  />
                   <f:selectItems value="#{TipoUsuarioController.selectListaTipoUsuarios}" />
                  </h:selectOneMenu>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <h:outputLabel value="Menu: " />
                </td>
                <td>
                    <h:inputText value="#{MenuWebController.menuWeb.uemnombreEnlace}" size="50" maxlength="50"/>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <h:outputLabel value="Ruta Pagina: " />
                </td>
                <td>
                    <h:inputText value="#{MenuWebController.menuWeb.uemrutaPagina}"  size="80" maxlength="80"/>
                    &nbsp;
                    <h:outputLabel value="(Ejm. carpeta/archivo.jsp)" styleClass="desactivar"/>
                </td>
            </tr>
            <tr>
                <td align="right">Orden: </td>
                <td>
                    <h:inputText value="#{MenuWebController.menuWeb.uemOrden}" size="5" maxlength="5" />
                </td>
            </tr>
        </table>
         <h:commandButton action="#{MenuWebController.editarMenu}" value="Grabar"/>
         <h:commandButton action="#{MenuWebController.retornar}" value="Cancelar" />
    </h:form>
</f:view>
